package com.wzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzy.mapper.ArticleMapper;
import com.wzy.pojo.Article;
import com.wzy.service.ArticlesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ArticlesServiceImpl extends ServiceImpl<ArticleMapper,Article> implements ArticlesService {

    @Autowired
    ArticleMapper articleMapper;

    @Override
    public Article selectById(Integer id) {
        Article article = articleMapper.selectById(id);
        return article;
    }


}
